package com.zhazha.stand.logic;

import java.util.List;

import com.zhazha.stand.entity.UserScore;

public interface UserScoreLogic extends ResourceLogic<UserScore>{

	public List<UserScore> getByUserIdAndContestId(int userId, int contestId);
	public List<UserScore> getByUserId(int id);
	public List<UserScore> getByContestId(int id);
	public List<UserScore> getByLevelAndContestId(int level, int contestId);
	public boolean deleteByUserId(int userId);
	public boolean deleteByContestId(int contestId);
	public boolean deleteByLevelAndContestId(int level, int contestId);
	public boolean deleteByUserIdAndContestId(int userId, int contestId);
}
